package com.chance.cc.crawler.prod.command.schedule.news.youku;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.youku.searchKw.YouKuSearchKwRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.youku.searchKw.YouKuSearchKwTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.youku.searchKw.YouKuSearchKwTraceTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;


public class YouKuCommonCrawlerJobSchedule extends CommonCrawlerJobSchedule {


    public static void main(String[] args) {
        republishCrawlerScheduleJob(YouKuSearchKwRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
        republishCrawlerScheduleJob(YouKuSearchKwTraceCrawlerSchedulerJob.crawlerSchedulejob());
        republishCrawlerScheduleJob(YouKuSearchKwTraceTraceCrawlerSchedulerJob.crawlerSchedulejob());
    }

    public static void republishCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_4);
    }

    public static void delteCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.deleteCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_4);
    }
}
